package com.yuan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
// @ComponentScan({"com.yuan"})   默认扫描当前包下面的文件,不需要写
public class ServiceCoreApplication {

    public static void main(String[] args) {
        try{
            SpringApplication.run(ServiceCoreApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }

    }
}
